import Vue from 'vue'
import App from './App'
import store from './store'

new Vue({
    el:'#app',
    components:{
        App
    },
    template:'<App />',
    store  //所有组件都多了一个 $store
})